package iit.projects.etaxi.model.exception.base;


@SuppressWarnings("serial")
public class FatalException extends Exception {

	private Object[] args;

	public FatalException() {
		super();
	}

	public FatalException(String message) {
		super(message);
	}

	public FatalException(String message, Throwable cause) {
		super(message, cause);
	}

	public FatalException(Throwable cause) {
		super(cause);
	}

	public FatalException(Object[] args) {
		this.args = args;
	}

	public FatalException(Object[] args, Throwable cause) {
		super(cause);
		this.args = args;
	}
	
	public FatalException(String message, Object[] args) {
		super(message);
		this.args = args;
	}
	
	public FatalException(String message, Throwable cause, Object[] args) {
		super(message, cause);
		this.args = args;
	}

	public void setArgs(Object[] args) {
		this.args = args;
	}

	public Object[] getArgs() {
		return args;
	}
}
